from flask import Flask, render_template, request

app = Flask(__name__)


@app.route('/')
@app.route('/index')
def hello_world():
    print(request.content_type)
    return render_template('index.html', title='haha')


if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0')